package com.gitee.core.dubbo.core;

import java.util.Map;

public class CommonAdapter implements ServiceCallAdapter {

    private String system;
    private String service;
    private String method;
    private Map data;

    public CommonAdapter(String system, String service, String method, Map data) {
        super();
        this.system = system;
        this.service = service;
        this.method = method;
        this.data = data;
    }

    @Override
    public String getSystem() {
        return system;
    }

    @Override
    public String getService() {
        return service;
    }

    @Override
    public String getMethod() {
        return method;
    }

    public Map getData() {
        return data;
    }
}